home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol E-12
/
Vol E-12.iso
/
games
/
barbie
/
barbi001.swf
/
scripts
/
frame_3
/
PlaceObject2_58_114
/
CLIPACTIONRECORD onClipEvent(enterFrame)_2.as
next >
Wrap
Text File
|
2012-05-21
|
751b
|
39 lines
onClipEvent(enterFrame){
if(_root.fadeout == 1)
{
_root.life = 1;
if(countdown >= 0)
{
setProperty(_root.man, _alpha, countdown);
countdown -= 20;
}
else
{
_root.life = 0;
_root.fadeout = 0;
countdown = 100;
with(_root)
{
nextFrame();
}
}
}
if(_root.fadeout == 2)
{
_root.life = 1;
if(countdown >= 0)
{
trace("hello");
setProperty(_root.man, _alpha, countdown);
countdown -= 20;
}
else
{
_root.life = 0;
_root.fadeout = 0;
countdown = 100;
_root.fadein = 2;
}
}
}